#pragma once
struct AscendV220 {
    static uint32_t const BiasSize = 1024;
    static uint32_t const FixBSize = 7 * 1024;
    static uint32_t const UBSize = 192 * 1024;
    static uint32_t const L1Size = 512 * 1024;
    static uint32_t const L0ASize = 64 * 1024;
    static uint32_t const L0BSize = 64 * 1024;
    static uint32_t const L0CSize = 128 * 1024;
};
struct Ascend910B1 {
    static uint32_t const MaxBlock = 24;
    static uint32_t const L2CacheByte = 192 * 1024 * 1024;
};
struct Ascend910B2 {
    static uint32_t const MaxBlock = 24;
    static uint32_t const L2CacheByte = 192 * 1024 * 1024;
};
struct Ascend910B3 {
    static uint32_t const MaxBlock = 20;
    static uint32_t const L2CacheByte = 192 * 1024 * 1024;
};
struct Ascend910B4 {
    static uint32_t const MaxBlock = 20;
    static uint32_t const L2CacheByte = 96 * 1024 * 1024;
};